<!DOCTYPE html>
<html lang="en" ng-app="app">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body ng-controller="login">
    <div class="logo">
        <img src="./public/images/logo.png" alt="">
    </div>
    <div class="login-box">
        <h3>管理员登录</h3>
        <form novalidate name="login" ng-submit="submit()">
            <div class="form-group">
                <input type="text" name="userName" class="form-control" placeholder="请输入用户名" required ng-model="formData.userName">
                <div class="error" ng-show="login.$submitted&&login.userName.$error.required">
                    请输入用户名
                </div>
            </div>
            <div class="form-group">
                <input type="text" name="passWd" class="form-control" placeholder="请输入密码" required ng-model="formData.passWd">
                <div class="error" ng-show="login.$submitted&&login.passWd.$error.required">
                    请输入密码
                </div>
            </div>
            <div class="form-group text-left">
                <label>
                    <input type="checkbox" name="remember" value="true">
                    记住账户
                </label>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary btn-block">登录</button>
            </div>
        </form>
    </div>
    <div class="copy">
        Copyright © 2016-2017 huabote All Rights Reserved.
    </div>
</body>

</html>